From 8720b2d8c51eb3c3f344f5e412eaf2b150da96fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Fri, 23 Feb 2018 11:34:18 +0100 Subject: [PATCH] widget: Correct translate_coordinate documentation We write 0 to dest_x and dest_y nowadays if the two widgets do not have a common ancestor. --- gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index e5a857e767..bcd0294730 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -4752,7 +4752,7 @@ gtk_widget_get_origin_relative_to_parent (GtkWidget *widget, * operation, both widget must share a common toplevel. * * Returns: %FALSE if @src_widget and @dest_widget have no common - * ancestor. In this case, nothing is stored in + * ancestor. In this case, 0 is stored in * *@dest_x and *@dest_y. Otherwise %TRUE. **/ gboolean -- 2.30.2